package com.gee.spring.boot.rpf.service.impl;

import com.gee.spring.boot.rpf.entity.RefFactorInfoParamSource;
import com.gee.spring.boot.rpf.mapper.RefFactorCalculatorParamSourceMapper;
import com.gee.spring.boot.rpf.service.RefFactorInfoParamSourceService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.beans.factory.annotation.Qualifier;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

/**
 * <p>
 * 因子计算器与参数来源关联表 服务实现类
 * </p>
 *
 * @author gee
 * @since 2021-02-07
 */
@Service
public class RefFactorInfoParamSourceServiceImpl extends ServiceImpl<RefFactorCalculatorParamSourceMapper, RefFactorInfoParamSource> implements RefFactorInfoParamSourceService {

    @Resource
    @Qualifier("refFactorCalculatorParamSourceMapper")
    private RefFactorCalculatorParamSourceMapper mapper;

    @Override
    public List<RefFactorInfoParamSource> listInUse() {
        return mapper.listInUse();
    }
}
